package cn.azzhu.bean;

public class Wife {
    private Integer id;
    private String wifeName;
    private Husband husband;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getWifeName() {
        return wifeName;
    }

    public void setWifeName(String wifeName) {
        this.wifeName = wifeName;
    }

    public Husband getHusband() {
        return husband;
    }

    public void setHusband(Husband husband) {
        this.husband = husband;
    }

    @Override
    public String toString() {
        return "Wife{" +
                "id=" + id +
                ", wifeName='" + wifeName + '\'' +
                ", husband=" + husband +
                '}';
    }
}
